cc.Class({
    extends: cc.Component,
    properties: {
        game: cc.Node,
        levelLabel: cc.Label,
        targetScore: cc.Label
    },
    playAnim: function (t) {
        this.levelLabel.string = "关卡" + t.level, this.targetScore.string = "目标：" + t.targetScore,
            this.callback = t.callback, this.getComponent(cc.Animation).play();
    },
    getGame: function () {
        this.callback();
    }
})